package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Address;

import java.util.List;
import java.util.Map;

public interface MapService {

    //查询数据库地址
    List<Address> findAddress();
    //分页查询
    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);
    //新增地址项
    Map add(Address address);
    //删除地址项
    Map deleteById(Integer id);

    List<Map<String, Integer>> findList();
}
